﻿using Dapper.Extensions;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using YouWei.Infrastructure.Entity;

namespace YouWei.Infrastructure.Models
{
    [TableName("Comment")]
    public class CommentDto : Comment
    {
        /// <summary>
        /// 文章详情
        /// </summary>
        [ResultColumn("Detail", "文章详情")]
        public string Detail { get; set; }
        /// <summary>
        /// 文章图片列表
        /// </summary>
        [ResultColumn("CommentImgs", "内容图片列表")]
        public List<CommentImage> CommentImgs { get; set; }

        /// <summary>
        /// 微信昵称
        /// </summary>
        [ResultColumn("WxNickName", "微信昵称")]
        public string WxNickName { get; set; }

        /// <summary>
        /// 微信头像地址
        /// </summary>
        [ResultColumn("WxHeadImgUrl", "微信头像地址")]
        public string WxHeadImgUrl { get; set; }
    }
}